package com.nudge.portlet.api;

import java.util.Date;

/**
 * Java bean that corresponds to the response of alert extraction in the Nudge system.
 *
 * @author Frederic Massart
 */
public class NudgeAlert {

    private Long alertId;

    private String status;

    private String description;

    private String action;

    private String server;

    private String userLink;

    private Date startTime;

    private Date endTime;

    private Date raisedTime;

    private Date closedTime;

    public Long getAlertId() {
        return alertId;
    }

    public void setAlertId(Long alertId) {
        this.alertId = alertId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getServer() {
        return server;
    }

    public void setServer(String server) {
        this.server = server;
    }

    public String getUserLink() {
        return userLink;
    }

    public void setUserLink(String userLink) {
        this.userLink = userLink;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getRaisedTime() {
        return raisedTime;
    }

    public void setRaisedTime(Date raisedTime) {
        this.raisedTime = raisedTime;
    }

    public Date getClosedTime() {
        return closedTime;
    }

    public void setClosedTime(Date closedTime) {
        this.closedTime = closedTime;
    }
}
